<html>
<head><meta charset="utf-8"><title>Modifying global state from request handler? · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Modifying.20global.20state.20from.20request.20handler.3F.html">Modifying global state from request handler?</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="204969243"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Modifying%20global%20state%20from%20request%20handler%3F/near/204969243" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jeremy Kolb <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Modifying.20global.20state.20from.20request.20handler.3F.html#204969243">(Jul 24 2020 at 21:32)</a>:</h4>
<p>@matklad For token delta updates I need to stash the computed tokens in GlobalState's mem_docs from the request handler but I'm not quite sure the best way to do it</p>



<a name="204971194"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Modifying%20global%20state%20from%20request%20handler%3F/near/204971194" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jeremy Kolb <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Modifying.20global.20state.20from.20request.20handler.3F.html#204971194">(Jul 24 2020 at 22:00)</a>:</h4>
<p>I made a PR so you can respond there</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>